package xyz.xtt.equity.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 靓号兑换订单记录
 *
 * @author dale
 * @since 2024/12/31
 **/
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_luck_phone_entitlement_deliver")
@ApiModel(value = "TblLuckPhoneEntitlementDeliver对象", description = "靓号兑换记录")
public class TblLuckPhoneEntitlementDeliver implements Serializable {
	@ApiModelProperty(value = "主键id")
	@TableId(value = "id")
	private Long id;

	@ApiModelProperty(value = "靓号-手机号码")
	private String luckPhone;

	@ApiModelProperty(value = "app用户id")
	private Long appUserId;

	@ApiModelProperty(value = "收货人-手机号码")
	private String receiverPhone;

	@ApiModelProperty(value = "兑换订单号")
	private Long orderNo;

	@ApiModelProperty(value = "资产id")
	private Long assetId;

	@ApiModelProperty(value = "资产权益id")
	private Long entitlementId;

	@ApiModelProperty(value = "订单状态：0 待提交身份信息，1 已发货，2 已退单，3 已完成，9 审核中，10 待发货，11 审核失败，99 用户尚未点击实名制链接")
	private Integer orderStatus;

	@ApiModelProperty(value = "是否生效中订单，0：无效，1：有效")
	private Boolean isValid;

	@ApiModelProperty(value = "创建时间")
	private Long createTime;

	@ApiModelProperty(value = "最后更新时间")
	private Long updateTime;

}
